package com.kakarote.hrm.entity.VO;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.time.LocalDateTime;

@Getter
@Setter
public class RecruitProcesExportVO {

    @ApiModelProperty("计划名称")
    @ExcelProperty("计划名称")
    @ColumnWidth(20)
    private String planName;

    @ApiModelProperty("记录编号")
    @ExcelProperty("记录编号")
    @ColumnWidth(15)
    private String recordCode;

    @ApiModelProperty("岗位名称")
    @ExcelProperty("岗位名称")
    @ColumnWidth(25)
    private String positionName;

    @ApiModelProperty("岗位编码")
    @ExcelProperty("岗位编码")
    @ColumnWidth(25)
    private String positionCode;

    @ApiModelProperty("招聘单位")
    @ExcelProperty("招聘单位")
    @ColumnWidth(25)
    private String positionUnit;

    @ApiModelProperty("报名数量")
    @ExcelProperty("报名数量")
    @ColumnWidth(15)
    private Integer registrationNum;

    @ApiModelProperty("入闱笔试数量")
    @ExcelProperty("入闱笔试数量")
    @ColumnWidth(15)
    private Integer writtenNum;

    @ApiModelProperty("笔试是否达开考比例")
    @ExcelProperty("笔试是否达开考比例")
    @ColumnWidth(20)
    private String isWrittenExamText;

    @ApiModelProperty("入闱面试数量")
    @ExcelProperty("入闱面试数量")
    @ColumnWidth(15)
    private Integer interviewNum;

    @ApiModelProperty("面试是否达开考比例")
    @ExcelProperty("面试是否达开考比例")
    @ColumnWidth(20)
    private String isInterviewExamText;

    @ApiModelProperty("入闱体检人数")
    @ExcelProperty("入闱体检人数")
    @ColumnWidth(15)
    private Integer checkNum;

    @ApiModelProperty("拟聘用人数")
    @ExcelProperty("拟聘用人数")
    @ColumnWidth(15)
    private Integer estimateNum;

    @ApiModelProperty("创建时间")
    @ExcelProperty("创建时间")
    @ColumnWidth(20)
    private LocalDateTime createTime;

    @ApiModelProperty("创建人姓名")
    @ExcelProperty("创建人")
    @ColumnWidth(15)
    private String createRealName;

    @Override
    public String toString() {
        return "RecruitProcesExportVO{" +
                "planName='" + planName + '\'' +
                ", recordCode='" + recordCode + '\'' +
                ", positionName='" + positionName + '\'' +
                ", registrationNum=" + registrationNum +
                ", writtenNum=" + writtenNum +
                ", isWrittenExamText='" + isWrittenExamText + '\'' +
                ", interviewNum=" + interviewNum +
                ", isInterviewExamText='" + isInterviewExamText + '\'' +
                ", checkNum=" + checkNum +
                ", estimateNum=" + estimateNum +
                ", createTime=" + createTime +
                ", createRealName='" + createRealName + '\'' +
                '}';
    }
}

